package com.yh;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Author yuhuan
 * @Date 2022/3/21
 */
@SpringBootApplication
public class AdminSystemApplication implements CommandLineRunner {
    public static void main(String[] args) {
        SpringApplication.run(AdminSystemApplication.class,args);
    }

    @Override
    public void run(String... args) throws Exception {
        System.out.println("欢迎使用后台管理系统！");
        System.out.println("主页请访问：http://localhost:8081/init.html");
        System.out.println("登录请访问：http://localhost:8081/login.html");
    }
}
